﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;

namespace ProjectSem40701.Util
{
    public class GetQuestions
    {
        public DataTable getQuestions(int roundID)
        {
            DataTable dttbl = null;
            try
            {
                MainDataset.QuestionTableAdapters.tbl_QuestionTableAdapter dp = new
                      MainDataset.QuestionTableAdapters.tbl_QuestionTableAdapter();
                dttbl = dp.Get_tbl_Question_Select_All_By_RoundID(roundID);
                return dttbl;
            }
            catch
            {
                return null;
            }
        }
    }
}
